import java.awt.Point;

import pulpcore.sprite.ImageSprite;


public class Tile {

	Point p;
	ImageSprite s;
	Character c;
	boolean special;
	boolean superspecial;
	public Tile(Point point, ImageSprite sprite)
	{
		s = sprite;
		p = point;
		c = null;
		special = false;
	}
	public Point getPosition()
	{
		return p;
	}
	public ImageSprite getSprite()
	{
		return s;
	}
	public Character getCharacter()
	{
		return c;
	}
	public void setCharacter(Character charac)
	{
		c = charac;
	}
	public boolean isClicked()
	{
		if (s.isMousePressed()){
			return true;
		}
		else{
			return false;
		}
	}
	public void setSpecial()
	{
		special = true;
	}
	
	public void unSpecial()
	{
		special = false;
	}
	public void setSuperSpecial()
	{
		superspecial = true;
	}
	
	public void unSuperSpecial()
	{
		superspecial = false;
	}
	public boolean getSpecial()
	{
		return special;
	}
	public boolean getSuperSpecial()
	{
		return superspecial;
	}
}
